ShortPixel\Controller\FileSystemController C

Total Complexity 103
Dependencies 6
Dependents 2
Total lines 585
Lines of code 351
Logical lines of code 207
Comment lines 119
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
40 21 54
getBackupDirectory()
A
48 10 32
getMediaImage()
A
53 8 23
pathIsUrl()
S
61 9 10
returnOldSubDir()
S
52 6 23
getWPAbsPath()
S
55 5 20
downloadFile()
S
49 4 32
flushImage()
S
60 5 13
sortFiles()
S
58 4 16
getCustomImage()
S
62 4 12
url_exists()
S
57 3 18
getImage()
S
59 3 16
getFilesRecursive()
S
61 3 13
getWPFileBase()
S
61 3 12
checkURL()
S
64 3 10
startTrustedMode()
S
70 2 7
endTrustedMode()
S
70 2 7
__construct()
S
80 1 3
checkBackUpFolder()
S
73 1 5
getFile()
S
80 1 3
getDirectory()
S
80 1 3
getOriginalImage()
S
72 1 5
getCustomStub()
S
73 1 5
flushImageCache()
S
74 1 5
getWPUploadBase()
S
74 1 4